package com.vmj.classfile.entity.constantinfo;

import com.vmj.classfile.ClassReader;
import com.vmj.classfile.entity.AbstractConstantInfo;

/**
 * Created by yangshoujun on 2017/9/2 下午9:11.
 */
public class ConstantInvokeDynamicInfo extends AbstractConstantInfo {

    int bootstrapMethodAttrIndex;
    int nameAndTypeIndex;

    public ConstantInvokeDynamicInfo(ClassReader reader) {
        super(reader);
    }

    public void parse() {
        bootstrapMethodAttrIndex = getReader().readTwoByte();
        nameAndTypeIndex = getReader().readTwoByte();
    }
}
